package com.mz.service;

import com.mz.entity.OmsGoodsCart;
import com.mz.entity.vo.CartSelectedVo;
import com.mz.entity.vo.GoodsToCartVo;

import java.util.List;

/**
 * (OmsGoodsCart)表服务接口
 *
 * @author makejava
 * @since 2023-12-13 13:30:32
 */
public interface OmsGoodsCartService {

    List<OmsGoodsCart> getCartList( Long userId ) throws Exception;

    void addCart(GoodsToCartVo cartVo) throws Exception;

    void updateCartAmountAndStatus(List<CartSelectedVo> cartSelectedVoList)  throws Exception;

    Integer getCartGoodsAmount(Long userId) throws Exception;

    List<OmsGoodsCart> getSelectedCart(Long userId)  throws Exception;
}

